package com.cloudkinto.service.covershows;

import com.cloudkinto.entity.NewsInformationDo;
import com.baomidou.mybatisplus.extension.service.IService;

import com.cloudkinto.common.web.PageResult;
import com.cloudkinto.common.web.SingleResult;
import com.cloudkinto.service.covershows.vo.*;

import java.util.List;
import java.util.Map;

/**
 * <p>
 *  service接口
 * </p>
 * @author zhangyy
 * @since 2020-09-27
 */
public interface NewsInformationService extends IService<NewsInformationDo> {

    SingleResult addInit();

    void add(NewsInformationAddReq req, Long userId);

    SingleResult updateInit(Long id);

    void update(NewsInformationUpdateReq updateVo, Long userId);

    int delete(Long id, Long userId);

    NewsInformationDetailRes detail(Long id);

    SingleResult pageInit();

    List<NewsInformationPageRes> getList(Map<String, String> map);

    PageResult getListPage(Map<String, String> map);

    SingleResult dataStatistics();

    SingleResult advice(AdviceReq req);

//    SingleResult storageList();
//
//    SingleResult jpRegionList();
}
